package com.xxxx.yebserver.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xxxx.yebserver.entity.Menu;
import com.xxxx.yebserver.entity.Role;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 每个权限组所对应的菜单
 */
@Data
public class RoleWithMenuVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long roleId;

    @ApiModelProperty(value = "用户组规则名称")
    private String roleName;

    @ApiModelProperty(value = "用户组名称")
    private String nameZh;

    @ApiModelProperty(value = "用户组所对应的菜单列表")
    private List<Menu> menus;
}
